package org.example.aienglishapp.dto.login;

import jakarta.validation.constraints.NotNull;

import java.util.Set;

public class CreateRoleRequestDTO {

    @NotNull(message = "角色ID不能为空")
    private Long roleId;

    @NotNull(message = "角色名称不能为空")
    private String roleName;

    private Set<Long> permissionIds;

    // Getters and Setters

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Set<Long> getPermissionIds() {
        return permissionIds;
    }

    public void setPermissionIds(Set<Long> permissionIds) {
        this.permissionIds = permissionIds;
    }
}